package bingo.modelo;

public class BingoTest implements BingoInterface {
    static int i=0;
    public int[] getUltimasBolas() {
    	i++;
        int[] ultimasBolas = new int[i];
        for (int j=0;j<i;j++) ultimasBolas[j]=j;
        return ultimasBolas;
    }

    public int[][] getQuadroDeBolas() {
    	int num =0;
        int[][] quadroDeBolas = new int[7][10];//{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}};
        for(int i = 0; i < 7; i++)
        	for(int j = 0; j < 10; j++)
        		quadroDeBolas[i][j]=++num;
        return quadroDeBolas;
    }

    public boolean sorteado(int bola) {
        if (bola < i){
            return true;
        } else {
            return false;
        }
    }
}
